<template>
  <div>
    <ul>

      <li v-for="m in datalist" :key="m.id">
       <nuxt-link :to="'/detail/'+m.id"> {{m.name}}</nuxt-link>
      </li>
    </ul>
    hotshowing page
  </div>
</template>

<script>
export default {
  data() {
    return {
      datalist: [{ id: 1, name: "战狼" }, { id: 2, name: "魔法学院" }]
    }
  }
}
</script>

